home *** CD-ROM | disk | FTP | other *** search
/ Hottest 6 / Hottest 6 (1996)(PDSoft)[!].iso / software / fredfish / 1059.lha / Programs / MathPlot / Macros / test10.rexx < prev    next >
OS/2 REXX Batch file  |  1994-12-15  |  556b  |  22 lines

  1. /* test of numint */
  2. address "MPlot_ARexx"
  3. options results
  4.  
  5. setnumprecision 16
  6. numint "steps 100  xmin 0 xmax 1 x^2 var V1"
  7. numint "steps 1000 xmin 0 xmax 1 x^2 var V2"
  8.  
  9. say "The result is "v1" with 100 steps"
  10. say "and           "v2" with 1000 steps"
  11. say "The correct value would be 1/3"
  12.  
  13. new
  14.  
  15. /* test of loadconst/macro/func */
  16. say
  17. say "execute test9 first, then quit, restart the programm and"
  18. say "then execute test10. Look at the subitem and some constants"
  19. loadfunc "ram:testoffunc.fkt"
  20. loadmacro "ram:testofmacro.mcr"
  21. loadconst "ram:testofconst.con"
  22.